import axiosServer from '../utils/request'

/**
 * 所有角色列表
 * @returns 
 */
export const RequestRoles = ()=>{
    return axiosServer({
        method:'get',
        url:'/api/system/roles'
    })
}

/**
 * 所有操作员
 * @returns 
 */
export const RequestManagers = ()=>{
    return axiosServer({
        method:'get',
        url:'/api/manager/list'
    })
}

/**
 * 删除操作员
 * @returns 
 */
 export const RequestDeleteManagers = (id)=>{
    return axiosServer({
        method:'get',
        url:'/api/manager/delete',
        params:{
            id
        }
    })
}

